package com.hahaliu.hahaliu.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName follow
 */
@TableName(value ="follow")
@Data
public class Follow implements Serializable {
    /**
     * 关注ID（主键）
     */
    @TableId(type = IdType.AUTO)
    private Integer foId;

    /**
     * 关注者ID
     */
    private Integer followId;

    /**
     * 被关注者ID
     */
    private Integer followedId;

    /**
     * 关注时间
     */
    private Date followDate;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}